package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Role;
import cn.wolfcode.car.qo.RoleQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    int delete(Long id);

    int save(Role record);

    Role get(Long id);

    PageInfo<Role> list(RoleQueryObject qo);

    List<Role> listAll();

    int update(Role record);

    List<Role> listByEmployeeId(Long id);

    List<String> selectSnByEmployeeId(Long id);
}
